﻿using Edu.Entitys;
using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AutoMapper;

namespace Edu.Contracts
{

    [AutoMapFrom(typeof(AppStudyTask))]
    public class StudyTaskDto : EntityDto<Guid>
    {
        /// <summary>
        /// 年
        /// </summary>
        public int Year
        {
            get;
            set;
        }

        /// <summary>
        /// 季度
        /// </summary>
        public int Quarter
        {
            get;
            set;
        }


        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// 说明
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        /// <summary>
        /// 分数
        /// </summary>
        public int Score
        {
            get;
            set;
        }

        public int TeacherScore
        {
            get;
            set;
        }

        /// <summary>
        /// 截止时间
        /// </summary>
        public System.DateTimeOffset DeadLine
        {
            get;
            set;
        }

        /// <summary>
        /// 任务状态
        /// </summary>
        public StudyTaskStatus Status
        {
            get;
            set;
        }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTimeOffset ReviewTime
        {
            get;
            set;
        }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTimeOffset CompleteTime
        {
            get;
            set;
        }

        /// <summary>
        /// 老师的uid
        /// </summary>
        public Guid TeacherId
        {
            get;
            set;
        }

        /// <summary>
        /// 学生的uid
        /// </summary>
        public Guid StudentId
        {
            get;
            set;
        }


        public DateTime CreationTime
        {
            get; set;
        }


        /// <summary>
        /// 任务内容
        /// </summary>
        public StudyTaskContent Content
        {
            get;
            set;
        }

        public string Suggest
        {
            get;
            set;
        }

        public AbilityType AbilityType
        {
            get;
            set;
        }
    }
}
